
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/jquery-ui.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/cash/popup.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/admin.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/stepitm.css">
<link rel="stylesheet" href="__HOME_CSS__/newdsn/css/table.css">
<script type="text/javascript" src="__HOME_JS__/js/jquery.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/jquery-ui/jquery-ui.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/laydate/laydate.min.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/admin_content.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/dialog.js"></script>
<script type="text/javascript" src="__HOME_JS__/js/libs.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/common.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/index.js"></script>
<script type="text/javascript" src="__HOME_JS__/newdsn/js/cash/home.js"></script>
</head>
<body id="bodyid" class="skin_blue">

<div class="bannercontainer">
  <div class="banner">
    <div class="avatar"></div>
    <div class="text1">
      <script language="javaScript">
        now = new Date(), hour = now.getHours()
        if (hour < 6) {
          document.write("凌晨好")
        } else if (hour < 9) {
          document.write("早上好")
        } else if (hour < 12) {
          document.write("上午好")
        } else if (hour < 14) {
          document.write("中午好")
        } else if (hour < 17) {
          document.write("下午好")
        } else if (hour < 19) {
          document.write("傍晚好")
        } else if (hour < 22) {
          document.write("晚上好")
        } else {
          document.write("夜里好")
        }
        $(function() {
        //设置当前页菜单默认值
        var curLocation = location.href.split("/");
        var curPageName = curLocation.slice(curLocation.length-1, curLocation.length).toString(String).split(".").slice(0, 1).toString(String).toLowerCase().split("?")[0];
        var webMenu = $(".subnavigation2 div");
        switch(curPageName){
          case "":        webMenu.eq(0).addClass("subitmactive");webMenu.eq(4).addClass("arrow1a");break;
          case "index":     webMenu.eq(0).addClass("subitmactive");webMenu.eq(4).addClass("arrow1a");break;
          case "address":   webMenu.eq(1).addClass("subitmactive");webMenu.eq(4).addClass("arrow2a");break;
          case "notices":   webMenu.eq(2).addClass("subitmactive");webMenu.eq(4).addClass("arrow3a");break;
          case "feedback":  webMenu.eq(3).addClass("subitmactive");webMenu.eq(4).addClass("arrow4a");break;
        }
        })
      </script>
      ，<span class="blue">{$info.member_name}  </span>
    </div>
    <div class="text2">
        <if condition="$info.true_name eq ''">  
   	    	<span class="blue"> 尚未填写真实姓名 </span>
   	    <else/>
   	     真实姓名： <span class="blue"> {$info.true_name|msubstr=0,1,'utf-8',false}** </span>
   	    </if>
      <br> 
       手机号码：
       <if condition="$info.member_mobile eq ''">      
            <span class="blue"> 尚未绑定手机 </span>
       <else/>
      	 <span class="blue"> {$info.member_mobile|substr=0,7}****</span>
       </if> 
        
       
      &nbsp;邮箱地址：
      <if condition="$info.member_email eq ''">
      	<span class="blue"> 尚未绑定邮箱 </span>
      	
      <else/>
      	<span class="blue">  {$info.member_email} </span>
      </if>
      
    </div>
    <div class="text3">欢迎来到{$setting.site_name}，我们更专注彩票，博彩乐趣都在这里。</div>
    <div class="subnavigation2">
      <div class="subitm2" onClick="location.href='{:U('Home/Agent/index')}'">推广网站</div>
      <div class="subitm2 subitmactive" onClick="location.href='{:U('Home/Agent/child')}'">下线会员</div>
      <div class="subitm2 subitmlast2" onClick="location.href='{:U('Home/Agent/dl_money')}'">代理报表</div>
      <div class="arrow2a arrow"></div>
    </div>
  </div>
</div>
<style>
div, form, img, ul, ol, li, dl, dt, dd{overflow:initial;}
.btncopy{display:inline-block; height:30px; line-height:30px; padding:0 14px; margin-left:10px; background-color:#ff4e00; color:#fff; font-size:12px; border-radius:2px; overflow:hidden; cursor:pointer;}
.form-box{padding-bottom:20px;}
.form-box *{vertical-align:middle;}
.form-box .textbox1, .textbox2, .textbox3{float:none;}
.form-box .label{display:inline-block;}
.rebate-box table{width:100%;}
.rebate-box table tr:hover{background-color:#c3d9f1;}
.rebate-box td{font-size:12px;}
.rebate-box .c_blue{color:blue;}
.rebate-box .c_red{color:red;}
.rebate-box .c_green{color:green;}
.rebate-box .c_gray{color:#999;}
.rebate-box .f_b{font-weight:bold;}
.page-box{overflow:hidden; padding-top:10px;}
.page-box .pb-left{float:left;}
.page-box .pb-right{float:right;}
.page-box .pb-right a,.page-box .pb-right span{margin:0 3px;}
.page-box .pb-right .pb-txt{width:38px; height:22px; border:1px solid #ccc; border-radius:2px; box-shadow:0 1px 2px 0 #e8e8e8 inset; padding: 0 5px; text-align:center; margin:0 3px;}
.page-box .pb-right .pb-btn{height:24px; line-height:24px; padding:0 10px; margin:0 3px; border:none; background-color:#036cb4; color:#fff; font-size:12px; border-radius:2px; overflow:hidden;}

</style>
<div class="rightpanel rw">
  <div class="contentcontainer">
    <div class="form-box">
      <div class="">	<form action="/index.php/Agent/child" method="post">
        <label class="label">会员账号 :</label>
	
        <input type="text" class="textbox2" value="{$name}"name="name">
		<input type="submit" value="查找">
       
		</form>
      </div>
    </div>
    <div class="rebate-box">
      <table class="table">
        <thead>
          <tr>
            <th>会员账号</th>
            <th>真实姓名</th>
            <th>注册时间</th>
            <th>最近登录</th>
            <th>当前余额</th>
            <th>帐户状态</th>
            <th>会员状态</th>
          </tr>
        </thead>
        <tbody>
		<if condition="$list">
		<foreach name="list" item="vo">
          <tr>
            <td>{$vo.member_name}</td>
            <td>{$vo.true_name}</td>
            <td><?php echo date('Y-m-d H:i:s',$vo['add_time'])?></td>
            <td><?php echo date('Y-m-d H:i:s',$vo['last_login_time'])?></td>
            <td>{$vo.member_money}</td>
            <td><span class="c_green"><?php if($vo['status']==1){?>启用<?php }else{?>禁用<?php }?></span></td>
            <td><?php if((time()-$vo['last_login_time'])>86400){?>下线<?php }else{?>在线<?php }?></td>
          </tr>
         </foreach>
		 <else/>
		 
          <tr><td class="nodata" colspan="8">暂无数据!</td></tr>
		  </if>
        </tbody>
      </table>
      <div class="page-box">
        {$page}
      </div>
    </div>
  </div>
</div>
<link rel="stylesheet" href="js/wan-spinner/wan-spinner.css">
<script src="js/wan-spinner/wan-spinner.js"></script>
<script src="js/jquery.browser.js"></script>
<script src="js/ZeroClipboard/ZeroClipboard.js"></script>
<script>
$(function(){
 $(".wan-spinner-1").WanSpinner({minValue:0,maxValue:49,step:1});
});
function copy(){
  if($.browser.mobile){
      alert("没有权限获取手机的剪切版信息，请手动复制！");
    }else{
    var clip=new ZeroClipboard.Client();
    ZeroClipboard.setMoviePath("js/ZeroClipboard/ZeroClipboard.swf");
    clip.setText($("#AgentUrl").val());
    clip.addEventListener('complete',function(client,text){
      dialog.alert1("消息", "复制成功！");
    });
    clip.glue("d_clip_button");
  }
}
</script>
</body>
</html>
